<?php

use Illuminate\Database\Eloquent\SoftDeletingTrait;

class Resume extends \Eloquent {
	
	use SoftDeletingTrait;

	protected $fillable = ['name', 'phone', 'email', 'gender', 'birthday', 'place', 'education', 'experience', 'job_id', 'expectation', 'marriage', 'intro'];

	protected $dates = ['deleted_at'];

    public function job()
    {
    	return $this->belongsTo('Job');
    }
}